IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > EnumerableFns Class > AllEqual Method : AllEqual<T,U>(IEnumerable<T>,Func<T,U>) Method |
'Declaration
<ExtensionAttribute()> Public Overloads Shared Function AllEqual (Of T,U)( _ ByVal items As IEnumerable(Of T), _ ByVal selector As Func(Of T,U) _ ) As Boolean
'Usage
Dim items As IEnumerable(Of T) Dim selector As Func(Of T,U) Dim value As Boolean value = EnumerableFns.AllEqual(Of T, U)(items, selector)
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2